package com.nnnu.orange.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class BookDto {
    private Integer bookId;
    private String title;
    private String subtitle;
    private Integer authorId;
    private Integer categoryId;
    private String isbn;
    private LocalDate publishedDate;
    private Integer pageCount;
    private String language;
    private Integer availableCopies;
    private Integer totalCopies;
    private String shelfLocation;
    private String description;
    @URL
    private String coverImageUrl;
    private LocalDateTime addedDate;
    private BigDecimal rating;
    private String format;
    private Integer status;
    private String genre;
    private String edition;
    private String tags;
}
